package com.team.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.team.entity.MedicalAdvice;
import com.team.service.MedicalAdviceService;
import com.team.mapper.MedicalAdviceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author asus
* @description 针对表【medical_advice(医嘱表)】的数据库操作Service实现
* @createDate 2024-07-13 14:39:19
*/
@Service
public class MedicalAdviceServiceImpl extends ServiceImpl<MedicalAdviceMapper, MedicalAdvice>
    implements MedicalAdviceService{
@Autowired
private MedicalAdviceMapper medicalAdviceMapper;
    @Override
    public int addMedicalAdvice(MedicalAdvice medicalAdvice) {
        return medicalAdviceMapper.insert(medicalAdvice);
    }
}




